import { createAPI } from '@/utils/request'

// 获取司机分页列表
export const getDriver = data => createAPI(`/driver/page`, 'get', data)

// 获取树状机构信息
export const getBusinessTree = data => createAPI(`/business-hall/tree`, 'get', data)

// 获取司机基本信息详情
export const getDetail = (id, data) => createAPI(`/driver/${id}`, 'get', data)
